//
//  AnalysisData.swift
//  EventTrackSDK
//
//  Created by wchao on 2020/2/25.
//  Copyright © 2020 Army_Ma. All rights reserved.
//

import UIKit

class AnalysisData: HandyJSON {
    
    var device_id = UIDevice.current.identifierForVendor?.uuidString
    var model = PhoneStateInfo.defaultState().iphoneType()
    var os_version = UIDevice.current.systemVersion
    var app_version = Bundle.main.infoDictionary!["CFBundleShortVersionString"] as! String
    var manufacturer = "Apple"
    var screen_height = Int(UIScreen.main.bounds.size.height)
    var screen_width = Int(UIScreen.main.bounds.size.width)
    var os = UIDevice.current.systemName
    var carrier = PhoneStateInfo.defaultState().DeviceSupplier()
    var wifi = PhoneStateInfo.defaultState().listenForReachability()
    var network_type = PhoneStateInfo.defaultState().networkType()
    var title = ""
    var screen_name = ""
    
    required init() {}
}

